package com.qf.service;

import com.qf.domain.User;

public interface UserService {
    Boolean checkUserName(String username);

    void register(User user);

    void active(String email, String code);

    User login(String username, String password);

    User adminLogin(String username, String password);
}
